import {VxeGridPropTypes} from "vxe-table/types/grid";

export const columns: VxeGridPropTypes.Columns = [
  {type: 'checkbox', width: 40, fixed: 'left',},
  {type: 'seq', title: '序号', treeNode: false, width: 60,},
  {field: 'id', title: 'ID', width: 60, visible: false,},
  {field: 'code', title: '门店编号', sortable: false, width: 180,},
  {field: 'name', title: '门店名称', sortable: false, width: 180,},
  {field: 'enable', title: '启用', sortable: false, width: 50, formatter: 'formatEnable',},
  {field: 'contacts', title: '联系人', sortable: false, visible: true, width: 100,},
  {field: 'phone', title: '联系电话', sortable: false, visible: true, width: 100,},
  {field: 'address', title: '详细地址', sortable: false, width: 200,},
  {field: 'memo', title: '备注', visible: true, sortable: false, width: 180,},
  {field: 'creator.name', title: '创建人', visible: false, sortable: false, width: 90,},
  {field: 'createdTime', title: '创建时间', visible: false, sortable: false, width: 140,},
  {field: 'updatedTime', title: '更新时间', visible: false, sortable: false,},
];